<?php

	/**
	 * @see Bike_Model_Abstract
	 */
	require_once 'Bike/Model/Abstract.php';
	
	
	class Bike_Model_Language extends Bike_Model_Abstract
	{
		static protected $_codeFieldName;

		static public function setCodeFieldName($CodeFieldName)
		{			self::$_codeFieldName = $CodeFieldName;
		}

		static public function getCodeFieldName()
		{
			return self::$_codeFieldName;
		}

		public function getCode()
		{			return $this->{$this->getCodeFieldName()};
		}
	}